package com.wn.pettyloan.service;

import com.wn.pettyloan.dto.ProductDto;
import com.wn.pettyloan.entity.Product;
import com.wn.pettyloan.vo.ProductVo;

import java.util.List;


/*/*
  * @Author 国雨浓
  * @Description  产品表
  * @Date 12:01 2022/12/8
  * @Param 
  * @return 
  **/

public interface ProductService {
    int add(Product product);

    int deleteByPrimaryKey(Long id);

    int insertSelective(Product record);

    Product selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Product record);

    List<Product> selectAll();

    List<Product> selectByLike(ProductDto productDto);

    int audit(Product record);

    Product selectByName(String name);

    Product ProductFound(String name);

    List<ProductVo> exportExcel(ProductDto productDto);
}
